<template>
  <div>
    <el-button type="primary" @click="onClick">Primary</el-button>
  </div>
</template>

<script setup>
import { onMounted } from 'vue';
import {getData} from '@/apis/index.js'
onMounted(() => {
})
const onClick = () => {
  getData()
}
</script>

<style lang="scss" scoped>

</style>@/apis/category.js